package frame.laxcen.dataobject;

import java.util.Map;

public class DataObject_0001_00 {

    // 应用处理器软件版本
    private String softVersion;

    // 读写器名称
    private String hardwareName;

    // 读写器上电时间 (秒)
    private Long powerOnTime;

    public DataObject_0001_00(Map<String, String> map) {

        this.softVersion = map.get("应用处理器软件版本");

        this.hardwareName = map.get("读写器名称");

        this.powerOnTime = Long.parseUnsignedLong(map.get("读写器上电时间"));
    }

    public String getSoftVersion() {

        return softVersion;
    }

    public String getHardwareName() {

        return hardwareName;
    }

    public long getPowerOnTime() {

        return powerOnTime;
    }
}
